package pl.sind.http;

import java.io.InputStream;

public interface HttpResponse<T> {

	InputStream getInputStream() throws HttpRequestException;

	String getHeader(String contentType);

	void close();

	int getResponseCode() throws HttpRequestException;

	String getResponseMessage() throws HttpRequestException;

	String getBody() throws HttpRequestException;

	int getContentSize();
}
